package org.xiexiake.dao.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * 文章赞踩收藏用户表(ArticleZanCaiCollect)表实体类
 *
 * @author makejava
 * @since 2021-04-24 16:53:11
 */
@SuppressWarnings("serial")
public class ArticleZanCaiCollect extends Model<ArticleZanCaiCollect> {

  //文章id
  private Integer articleId;
  //点赞的用户
  private Integer zanUserId;
  //点踩的用户
  private Integer caiUserId;
  //收藏这篇文章的用户id
  private Integer collectUserId;

  private Integer id;


  public Integer getArticleId() {
    return articleId;
  }

  public void setArticleId(Integer articleId) {
    this.articleId = articleId;
  }

  public Integer getZanUserId() {
    return zanUserId;
  }

  public void setZanUserId(Integer zanUserId) {
    this.zanUserId = zanUserId;
  }

  public Integer getCaiUserId() {
    return caiUserId;
  }

  public void setCaiUserId(Integer caiUserId) {
    this.caiUserId = caiUserId;
  }

  public Integer getCollectUserId() {
    return collectUserId;
  }

  public void setCollectUserId(Integer collectUserId) {
    this.collectUserId = collectUserId;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  /**
   * 获取主键值
   *
   * @return 主键值
   */
  @Override
  protected Serializable pkVal() {
    return this.id;
  }
}
